<?php if ($gtAccount != NULL): ?>

<div class='grid_6 alpha center'>
	<fieldset>
		<label><strong>View Employee Hours<strong></label>
		<select id='employeeSelect'><?php
foreach($employeeGroups as $group){
	$options = '';
	foreach($group['Employees'] as $employee)
		$options .= $this->Html->tag('option',
			$employee['name'],
			array('value' => Router::url('/Manager/hours/'.$employee['employee_id']))
		);
	echo $this->Html->tag('optgroup',$options, array('label'=>$group['name']));
}		?></select>
		<button onclick='window.location=$("#employeeSelect").val()'>Go</button>
	</fieldset>
</div>
<div class='grid_6 omega center'>
	<fieldset>
		<label><strong><?php echo ($requestCount>0)?$requestCount:'No' ?></strong> outstanding requests</label>
		<? echo $this->Html->link('View Edit Requests',array('action'=>'reviewrequests')) ?>
	</fieldset>
</div>

<?php else: ?>
<h1> Invalid Login </h1>
<?php endif ?>

    
